import {createRouter,createWebHashHistory} from 'vue-router'
import Login from '../components/login/login.vue'
import HomePage from '../components/homePage/homePage.vue'


const routes=[
  {
    path:"/",
    component:Login
  },
  {
    path:"/homePage",
    component:HomePage
  }
]
const router=createRouter({
  history:createWebHashHistory(),
  routes
})


export default router